//
//  TaxesCalculator.h
//  Rong360
//
//  Created by tianliwei on 16/2/14.
//  Copyright (c) 2014 tianliwei. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    HouseSecondHand,//二手房
    HouseNew//新房
}HouseHandType;

typedef enum{
    NormalType,//普通住宅
    UnnormalType,//非普通住宅
    EcomicalType//经适房
}HouseType;

typedef enum{
    TotalType,//总价
    DiffType//差价
}MarkType;

@interface TaxesCalculator : NSObject
@property (nonatomic, copy)NSString *square_second;//二手房面积
@property (nonatomic, copy)NSString *square_new;//新房面积
@property (nonatomic, copy)NSString *totalPrice_second;//总价
@property (nonatomic, copy)NSString *totalPrice_new;//总价
@property (nonatomic, copy)NSString *orginPrice;//原值
@property (nonatomic, assign)HouseType houseType;//房产类型
@property (nonatomic, assign)MarkType markType;//计征方式
@property (nonatomic, assign)BOOL overFive;//购房满5年
@property (nonatomic, assign)BOOL firstBuy;//买方首次购房
@property (nonatomic, assign)BOOL onlyOne;//卖方唯一住房
@property (nonatomic, assign)HouseHandType houseHandType;
//结果
@property (nonatomic, copy)NSString *qishui_cur;//（不固定）当前契税税率
@property (nonatomic, copy)NSString *geren_cur;//（不固定）当前个人所得税税率
@property (nonatomic, copy)NSString *zonghedijia_cur;//（不固定）综合地价款
@property (nonatomic, copy)NSString *qishui_2nd;
@property (nonatomic, copy)NSString *qishui_new;
@property (nonatomic, copy)NSString *yingyefujia;
@property (nonatomic, copy)NSString *geren;
@property (nonatomic, copy)NSString *yinhua;
@property (nonatomic, copy)NSString *zonghedijia;
@property (nonatomic, copy)NSString *zhongjie;
@property (nonatomic, copy)NSString *heji;

@property (nonatomic, strong)NSArray *results;
- (void)beginCalculateWithHouseSecondHand;
- (void)beginCalculateWithHouseNew;
@end
